.files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 24px;
  animation: slideIn var(--transition-normal);

  .file-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 200, 83, 0.1);
    backdrop-filter: blur(10px);
    position: relative;

    &::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--primary-gradient);
      opacity: 0;
      transition: opacity var(--transition-normal);
    }

    &:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow: var(--shadow-lg);
      border-color: var(--primary-light);

      &::before {
        opacity: 0.05;
      }

      .preview {
        transform: scale(1.1);
        
        .el-icon {
          transform: rotate(10deg) scale(1.2);
          color: var(--primary);
        }
      }

      .actions {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .preview {
      height: 180px;
      background: var(--surface-gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--transition-normal);
      position: relative;
      overflow: hidden;

      &::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(45deg,
          transparent 0%,
          rgba(255, 255, 255, 0.2) 50%,
          transparent 100%);
        animation: shimmer 2s infinite;
      }

      .el-icon {
        font-size: 64px;
        color: var(--primary-dark);
        transition: all var(--transition-normal);
        filter: drop-shadow(0 4px 8px rgba(0, 200, 83, 0.2));
      }
    }

    .info {
      padding: 24px;
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(10px);
      position: relative;
      z-index: 1;

      h3 {
        margin: 0 0 16px;
        font-size: 18px;
        font-weight: 600;
        color: #2c3e50;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;

        .date {
          font-size: 14px;
          color: #64748b;
        }

        .el-tag {
          background: rgba(0, 200, 83, 0.1);
          border: none;
          color: var(--primary);
          font-weight: 500;
          padding: 4px 12px;
          border-radius: 20px;
        }
      }

      .collaborators {
        display: flex;
        gap: -12px;

        .el-avatar {
          border: 3px solid white;
          box-shadow: var(--shadow-sm);
          transition: all var(--transition-normal);

          &:hover {
            transform: translateY(-4px) scale(1.1);
            box-shadow: var(--shadow-md);
          }
        }
      }
    }

    .actions {
      padding: 16px;
      background: rgba(255, 255, 255, 0.95);
      border-top: 1px solid rgba(0, 200, 83, 0.1);
      opacity: 0;
      transform: translateY(10px);
      transition: all var(--transition-normal);
      display: flex;
      justify-content: flex-end;
      gap: 8px;

      .el-button {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        transition: all var(--transition-normal);

        &:hover {
          background: var(--primary);
          color: white;
          transform: translateY(-2px);
          box-shadow: 0 4px 12px rgba(0, 200, 83, 0.2);
        }
      }
    }
  }
} 